<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label">会员卡名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入会员卡名称" value="{$row.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">充值金额</label>
            <div class="layui-input-block">
                <input type="number" name="price" class="layui-input" lay-verify="required" min="0.01" placeholder="请输入充值金额" value="{$row.price}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">会员折扣</label>
            <div class="layui-input-block">
                <input type="number" name="persent" class="layui-input" lay-verify="required" max="100" placeholder="请输入会员折扣" value="{$row.persent}">
            </div>
            <span style="margin-left: 130px;color: #ccc;">注意：请设置0.01-99.99之间的数字;折扣由商品价*(设置折扣/100)=会员价</span>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">会员权益</label>
            <div class="layui-input-block">
                <textarea name="quanyi" class="layui-textarea" lay-verify="required" placeholder="请输入会员权益">{$row.quanyi}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">会员规则</label>
            <div class="layui-input-block">
                <textarea name="userrule" class="layui-textarea" lay-verify="required" placeholder="请输入会员规则">{$row.userrule}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注信息</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息">{$row.remark}</textarea>
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>